package com.jeff.android.lab.module.media;

import android.content.Intent;

import com.jeff.android.lab.BaseRecyclerViewFragment;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: dingfeng
 * @date: 2020-01-13
 * @since: 1.0.0
 **/
public class MediaMainFragment extends BaseRecyclerViewFragment {

    @Override
    protected List<String> getData() {
        return new ArrayList<String>() {
            {
                add("VideoRecord");
            }
        };
    }

    @Override
    protected void launch(String widget) {
        if ("VideoRecord".equals(widget)) {
            startActivity(new Intent(getContext(), HorizontalVideoRecordActivity.class));
        }
    }

}
